{% extends 'layout/basic.html' %}
{% load static %}
{% block title %} 订单 {% endblock %}

{% block content %}
    <table class="table">
        <thead>
        <tr>
            <th>编号</th>
            <th>邮轮名称</th>
            <th>邮轮描述</th>
            <th>航线描述</th>
            <th>单次旅行时间</th>

        </tr>
        </thead>
        <tbody>
        {% for i in all%}
            <tr>
                <th scope="row">{{ i.id }}</th>
                <td ><a href="{% url 'room' id=i.id %}">{{ i.name }}</a> </td>
                <td>{{ i.intro }}</td>
                <td>{{ i.total_rooms }}</td>
                <td>{{ i.totaltime }}</td>
            </tr>
        {% endfor %}


        </tbody>
    </table>
{% endblock %}